package com.gamesnet.models;

public class Console extends Listable{
	
	private String nom, description, image;
	private long id;
	
	public Console(long id,String nom, String description, String image){
		this.id = id;
		this.nom = nom;
		this.description = description;
		this.image = image;
	}
	
	public Console(long id, String nom, String image){
		this.id = id;
		this.nom = nom;
		this.image = image;
	}
	
	@Override
	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String afficher() {
		return nom;
	}
	
	@Override
	public String image() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}
	
	@Override
	public void supprimer(){
		//do nothing for the moment
	}

	@Override
	public boolean isNew() {
		return false;
	}
	
	

}
